<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value="/css/style.css" />" rel="stylesheet"
	type="text/css" media="screen" />
	<script src="<c:url value="/js/jquery-1.9.1.min.js" />"></script>
<title>Insert title here</title>

<style>

</style>

</head>
<body>
	<!-- 引入共同的頁首 -->
	<c:set var="funcName" value="IND" scope="session" />
	<jsp:include page="/top/top.jsp" />

	<!-- 從這裡開始寫 -->
<center>

<table>

                <tr>
                <td align="right" bgcolor="#F8F8F8">姓名 </td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbname}" />
                </tr>
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">性別</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbsex}" />
                </tr>
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">身份證</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbidentity}" />
                </tr>
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">生日</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbbirth}" />
                </tr>
                
               
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">E-mail</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbemail}" />
                </tr>
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">電話</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbtel}" />
                </tr>
                
                <tr>
                <td align="right" bgcolor="#F8F8F8">地址</td>
                <td align="left" bgcolor="#F8F8F8">
                <input name="Name" type="text" size="30" maxlength="30" value="${user.mbaddr}" />
	            </tr>
	            
	 
	 
	  <tr>
	 
	  <td colspan="4" align="center" bgcolor="#F8F8F8">
	   <form action="<c:url value="/ApplyCourseServlet" />" method="post" >
	   <input type="hidden" name="mbid" value="${user.mbid}">
	   <input type="hidden" name="cid" value="${param.cid}">
	   <input type="submit" name="name" value="送出資料" /> 
	   <input type="button"name="cancel" value="取消" onclick="history.back(-1)" />
	   </form>
	  </td>
	 
	  </tr>
</table>

</center>	
<c:if test="${not empty fail }">
		<script type="text/javascript">
		$(function() {
			alert("您已經報名過囉!!");
		})
		</script>
		</c:if>


<!-- 寫到這裡結束 -->

		<div id="footer-wrapper">
			<div id="footer">
				<p>
					Copyright (c) 2010 Sitename.com. All rights reserved. Design by <a
						href="http://www.freecsstemplates.org/" rel="nofollow">FCT</a>.
				</p>
			</div>
		</div>
	
</body>
</html>